package com.giraffe.aiochat.model;

public class Message {
    private MessageType type;
    private String nickname;
    private String content;

    public Message() {}

    public Message(MessageType type, String nickname, String content) {
        this.type = type;
        this.nickname = nickname;
        this.content = content;
    }

    public MessageType getType() {
        return type;
    }

    public void setType(MessageType type) {
        this.type = type;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}